<html xmlns:th="http://www.thymeleaf.org">
<head>
	<link th:replace="layout :: head"/>
</head>
<script type="text/javascript">
	if (top.location != self.location) {
		top.location = self.location;
	}

	function removeMenu() {
		window.sessionStorage.removeItem("menu");
		window.sessionStorage.removeItem("curmenu");
	}

	removeMenu();
</script>
<body style="background-image: url('images/bg.jpg')">

<form class="layui-form layui-login" style="opacity: 0.9;" method="post" id="loginForm" lay-filter="loginForm">
	<div class="login-face">
		<img th:src="@{/images/login-logo.png}" class="userAvatar">
	</div>
	<div class="layui-form-item input-item">
		<span style="align-content: center;margin-left: 60px;font-size: large;font-weight: bolder;">mimo管理后台</span>
	</div>

	<div class="layui-form-item input-item">
		<input type="text" placeholder="请输入帐号" name="userCode" id="userCode" class="layui-input" required="required"
			   lay-verify="required">
	</div>
	<div class="layui-form-item input-item">
		<input type="password" placeholder="请输入密码" name="password" id="password" class="layui-input" required="required"
			   lay-verify="required">
	</div>

	<div class="layui-form-item">
		<button type="button" lay-submit lay-filter="login" id="login" class="layui-btn login" style="width: 100% !important;">登录</button>
	</div>
</form>

<script th:replace="layout :: script"></script>
<script th:src="@{/js/login.js}" type="text/javascript"></script>
</body>
</html>
